//
//  NSString+GetBaseURL.m
//  xiaoyiNew
//
//  Created by TW on 2017/2/5.
//  Copyright © 2017年 讯一. All rights reserved.
//

#import "NSString+GetBaseURL.h"

@implementation NSString (GetBaseURL)
+ (NSString *)getURLWithSubURL:(NSString *)subURL{
    
    return [@"http://120.25.210.173:8080/TextServer/" stringByAppendingString:subURL];
}
+ (NSString *)getImageWithSubURL:(NSString *)subURL{
    
    return [@"http://120.25.210.173:8090/upload/luntanimages/" stringByAppendingString:subURL];
}

+ (NSString *)getBaseURL{
    
    return @luntanURL;
}

@end
